#include "MySQLMgr.h"

MySQLMgr::MySQLMgr()
{
}

MySQLMgr::~MySQLMgr()
{
    std::cout << "This is MySQLMgr destruct!" << std::endl;
}

void MySQLMgr::test()
{
    _dao.test();
}

json MySQLMgr::getShopDatas()
{
    json res;
    _dao.getShopDatas(res);
    return res;
}

json MySQLMgr::getShopDatasByName(const std::string& name)
{
    json res;
    _dao.getShopDatasByName(res, name);
    return res;
}
